//
//  ZCamera.h
//
//  Created by MacBook on 2018/1/11.
//  Copyright © 2018年 ZhàoYǒng. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZCamera : UIView

- (instancetype)initWithFrame:(CGRect)frame;

- (void)setCallback:(void(^)(UIImage *image))callback;

- (void)startCapturing;

- (void)stopCapturing;

- (void)takePhoto;

@end
